PATH
Mac OS X Server Release Notes Copyright ©1998 by Apple Computer, Inc. All Rights Reserved.
This file contains release notes for the Mac OS X Server and Yellow Box for Windows release of the Java Abstract Window Toolkit (AWT). The AWT provides platform-independent graphical user interface services for applications written in Java. This release of the AWT is based on the JDK version 1.1.6 from Sun Microsystems.
The Java AWT for Mac OS X Server is fully compliant with the AWT API specification from Sun. In order to access the AWT Java classes, the following class archive file must be in your CLASSPATH environment variable:
/System/Library/Frameworks/JavaVM.framework/Classes/awt.jar
This file is already part of the default CLASSPATH, so there is no need to add it unless you are explicitly setting up your own CLASSPATH. For more information on the CLASSPATH, see the Java VM release notes (/System/Documentation/Developer/YellowBox/ReleaseNotes/JavaVM.html)
All AWT peer classes are implemented as subclasses Yellow Box views (NSView class). This allows the components to function with the exact platform appearance. In addition, this allows AWT-based Java beans to be embedded in Yellow Box applications through the use of Interface Builder. See the Java Beans Palette release notes for more information (/System/Documentation/Developer/YellowBox/ReleaseNotes/JavaBeansPalette.html).
These bugs are known to exist in Customer Release 1 of the AWT:
Reference |
2005449 |
Problem |
Scroll bars do not scale width. |
Description |
The AWT allows scroll bars of varying width (for vertical scrollers) or height (for horizontal scrollers), but the native Yellow Box does not yet support this capability. Scroll bars wider than 16 pixels still appear 16 pixels wide, while scroll bars narrower than 16 pixels are clipped to the correct width without scaling the appearance. In either case, the scroll bars are fully functional. |
Workaround |
Use scroll bars with the default width. |
Reference |
2215670 |
Problem |
AWT can fail to initialize properly when hosted inside an NSApplication. |
Description |
If you are hosting AWT components inside a Yellow Box application, the AWT will not initialize properly if the first AWT object created is created on a secondary thread. |
Workaround |
Force the AWT to be initialized on the AppKit's main thread before creating AWT objects. The easiest way to initialize the AWT is to call Toolkit.getDefaultToolkit(). |
Reference |
2217328 |
Problem |
The appletviewer tool does not support AppletContext.showDocument() |
Description |
The appletviewer command, which uses the class sun.applet.AppletViewer to display applets, does not implement the AppletContext method showDocument(). When an applet calls showDocument(), say, in response to a user click, nothing happens. |
Workaround |
View the applet in an Internet browser, such as OmniWeb or HotJava, which can display HTML files. |